		/*框架展开js*/
		function senfe(e) {
			var s = 1.2;
            var s2 = 8;
			var obj = e.parentNode;
			var oh = parseInt(obj.offsetHeight);
			var h = parseInt(obj.scrollHeight);
			var nh = oh;
	              
				if(obj.getAttribute("oldHeight") == null){
				obj.setAttribute("oldHeight", oh);
			}else{
				var oldh = Math.ceil(obj.getAttribute("oldHeight"));
			}
					
			var reSet = function(){
				if (oh<h) {
					e.innerHTML = "收起舱位>>";
					if(nh < h){
						nh = Math.ceil(h-(h-nh)/s);
						obj.style.height = nh+"px";
					}else{
						window.clearInterval(IntervalId);
					}
				} else {
                                        e.innerHTML = "展开舱位>>";
                                        if(nh > oldh){
						nhh = Math.ceil((nh-oldh)/s2);
                                                nh = nh-nhh;
						obj.style.height = nh+"px";
					}else{
						window.clearInterval(IntervalId);
					}
                                         }
			}
			var IntervalId = window.setInterval(reSet,5);
		}
function MM_showHideLayers() { //v9.0
  var i,p,v,obj,args=MM_showHideLayers.arguments;
  for (i=0; i<(args.length-2); i+=3) 
  with (document) if (getElementById && ((obj=getElementById(args[i]))!=null)) { v=args[i+2];
    if (obj.style) { obj=obj.style; v=(v=='show')?'visible':(v=='hide')?'hidden':v; }
    obj.visibility=v; }
}
function MM_changeProp(objId,x,theProp,theValue) { //v9.0
  var obj = null; with (document){ if (getElementById)
  obj = getElementById(objId); }
  if (obj){
    if (theValue == true || theValue == false)
      eval("obj.style."+theProp+"="+theValue);
    else eval("obj.style."+theProp+"='"+theValue+"'");
  }
}

/*更改签js*/
function titleEffect(e)   
{   
ee = e || event;   
var element = ee.srcElement || ee.target;   
var body = document.body;   
var tip = document.getElementById("tip-div");   
if (!tip)   
{   
tip = document.createElement("div");   
tip.id = "tip-div";   
with (tip.style)   
{   
display = "none";   
color = "#000";   
backgroundColor = "#ffffff";   
border = "1px solid #3CF";   
fontSize = "12px";   
padding = "5px";   
lineHeight = "150%";   
position = "absolute";   
left = "0";   
top = "0";   
zIndex = 2000; // 一个足够大的数，保证层会处于最上层   
}   
body.appendChild(tip);   
}   
var title = element.getAttribute("title") || element.getAttribute("_title");   
if (!title) return (tip.style.display=="block") && (tip.style.display="none") || true;   
if (element.getAttribute("title"))   
{   
element.setAttribute("title", "");   
element.setAttribute("_title", title);   
}   
tip.style.display = "block";     
tip.innerHTML = title;   
var left = body.scrollLeft + ee.clientX + 10;   
left = (left>body.clientWidth-tip.clientWidth) ? (left-tip.clientWidth) : left;   
var top = body.scrollTop + ee.clientY + 10;   
top = (top>body.clientHeight-tip.clientHeight) ? (top-tip.clientHeight) : top;   
tip.style.left = left + "px";   
tip.style.top = top + "px";   
return true;   
}   
document.onmousemove = titleEffect;
